package com.yunxi.model.sto;

import com.baomidou.mybatisplus.annotation.*;
import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 车辆RFID绑定历史
 * </p>
 *
 * @author caoYong
 * @since 2019-07-23
 */
@Data
@TableName("pms_sto_vrfid_his")
@ApiModel(value="StoVrfidHistory对象", description="车辆RFID绑定历史")
public class StoVrfidHistory implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "HISTORY_ID", type = IdType.UUID)
    private String historyId;

    @ApiModelProperty(value = "渠道商代码")
    @TableField("PARTNER_CODE")
    private String partnerCode;

    @ApiModelProperty(value = "车辆RFID")
    @TableField("VEHICLE_RFID")
    private String vehicleRfid;

    @ApiModelProperty(value = "车辆VIN码")
    @TableField("VIN")
    private String vin;

    @ApiModelProperty(value = "绑定类型(VehicleRfid_BindType,1绑定,2解绑)")
    @TableField("BIND_TYPE")
    private Integer bindType;

    @ApiModelProperty(value = "绑定/解绑时间")
    @TableField("BIND_TIME")
    private Date bindTime;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_TIME",fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "CREATE_BY",fill = FieldFill.INSERT)
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "UPDATE_TIME",fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    @TableField(value = "UPDATE_BY",fill = FieldFill.UPDATE)
    private String updateBy;


}
